package com.beijiteshop.shop.ui.notification.repo

import com.beijiteshop.libcommon.network.repo.BaseRepo

/**
 * @Author LiaoZhongKai
 * @Date 2021/3/16 11:09
 * @Description
 */
class NotificationRepo(private val service: NotificationService) : BaseRepo() {

    fun getNotificationCount() = service.getNotificationCount()

    fun getNotificationList(page: Int) = service.getNotificationList(page)

    fun setOrderReadState(messageId: String) = service.setOrderReadState(messageId)

    fun setCouponReadState(messageId: String) = service.setCouponReadState(messageId)

    fun setAllRead() = service.setAllRead()
}